package com.lihao.baselibrary.base;


/**
 * Created by lihao on 2017/8/1.
 */
public class basePresenter {
    baseView view;
    public basePresenter(baseView view){
        this.view = view;
    }


    public void showDialog(){
        view.showDialog();
    }

    public void dismissDialog(){
        view.dismissDialog();
    }

    public void showToast(String msg){
        view.showToast(msg);
    }
    public void showToast(int msg_id){
        view.showToast(msg_id);
    }
}
